package com.edu.gcu.system.dao;

import com.edu.gcu.system.pojo.Gift;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GiftMapper {
    int deleteByPrimaryKey(String id);

    int insert(Gift record);

    int insertSelective(Gift record);

    Gift selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Gift record);

    int updateByPrimaryKey(Gift record);

    List<Gift> selectList(@Param("name") String name, @Param("status") Integer status);
}